package com.woniu.dao;

import com.woniuxy.commons.entity.QueryConditions;
import com.woniuxy.commons.entity.TestPaper;

import java.util.List;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-20 15:31
 * @description: 查询试卷
 */
public interface TestPaperDao {

    TestPaper getPaperById(Long paperId);

    TestPaper getPaperByName(String pName);

    List<TestPaper> getPaperList(String subject);

    int insertPaper(TestPaper testPaper);

    int updatePaper(TestPaper testPaper);

    int deletePaper(Long paperId);
}
